<!--#layout("/common/layout.html",{"jsBase":"/js/evaluation/cpTaskSetup/"}){ -->
<div class="layui-row">
    <div class="layui-colla-item">
        <div class="layui-colla-content layui-show">
            <div class="layui-row">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-inline">评测人数信息(人)：  ${person}</label>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-inline" >评测权重设置(%)：  ${rule}</label>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<form class="layui-form layui-form-pane" id="addForm"  lay-filter="editform">
    <input type="hidden" name="taskId" id="taskId" value="${taskId}">
    <label class="layui-form-label" style="width: 150px">打分规则设置：</label>
        <div id="addDiv">
            <button type="button" class="layui-btn layui-btn-sm" data-type="addRow" id="addRow" style="height: 38px" title="添加一行">
                <i class="layui-icon layui-icon-add-1"></i> 添加一行
            </button>
        </div>
    <div class="layui-row">
        <table id="dataTable" lay-filter="dataTable"></table>
    </div>
    <button class="layui-btn" type="button" id="addButton-cancel">上一步</button>
    <button class="layui-btn layui-btn-danger" type="button" id="addButton" lay-submit="" lay-filter="form">保存</button>
</form>
<!--#} -->
<script>
    layui.use(['rule'], function () {
        var rule = layui.rule
        rule.init();
    });
</script>

